<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Taskflow Handbook</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname"><a href="https://taskflow.github.io/">Taskflow</a>
   &#160;<span id="projectnumber">3.0.0-Master-Branch</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classtf_1_1cudaTask.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classtf_1_1cudaTask-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">tf::cudaTask Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>handle to a node of the internal CUDA graph  
 <a href="classtf_1_1cudaTask.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="cuda__task_8hpp_source.html">cuda_task.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a68942b759c0420da99b639a8de3cc3d1"><td class="memItemLeft" align="right" valign="top"><a id="a68942b759c0420da99b639a8de3cc3d1"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtf_1_1cudaTask.html#a68942b759c0420da99b639a8de3cc3d1">cudaTask</a> ()=default</td></tr>
<tr class="memdesc:a68942b759c0420da99b639a8de3cc3d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">constructs an empty <a class="el" href="classtf_1_1cudaTask.html" title="handle to a node of the internal CUDA graph ">cudaTask</a> <br /></td></tr>
<tr class="separator:a68942b759c0420da99b639a8de3cc3d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a367cf46c1ea828de4502a2ddc805c094"><td class="memItemLeft" align="right" valign="top"><a id="a367cf46c1ea828de4502a2ddc805c094"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtf_1_1cudaTask.html#a367cf46c1ea828de4502a2ddc805c094">cudaTask</a> (const <a class="el" href="classtf_1_1cudaTask.html">cudaTask</a> &amp;)=default</td></tr>
<tr class="memdesc:a367cf46c1ea828de4502a2ddc805c094"><td class="mdescLeft">&#160;</td><td class="mdescRight">copy-constructs a <a class="el" href="classtf_1_1cudaTask.html" title="handle to a node of the internal CUDA graph ">cudaTask</a> <br /></td></tr>
<tr class="separator:a367cf46c1ea828de4502a2ddc805c094"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af17c570ca9a43ad71c4b626635ea9cbb"><td class="memItemLeft" align="right" valign="top"><a id="af17c570ca9a43ad71c4b626635ea9cbb"></a>
<a class="el" href="classtf_1_1cudaTask.html">cudaTask</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtf_1_1cudaTask.html#af17c570ca9a43ad71c4b626635ea9cbb">operator=</a> (const <a class="el" href="classtf_1_1cudaTask.html">cudaTask</a> &amp;)=default</td></tr>
<tr class="memdesc:af17c570ca9a43ad71c4b626635ea9cbb"><td class="mdescLeft">&#160;</td><td class="mdescRight">copy-assigns a <a class="el" href="classtf_1_1cudaTask.html" title="handle to a node of the internal CUDA graph ">cudaTask</a> <br /></td></tr>
<tr class="separator:af17c570ca9a43ad71c4b626635ea9cbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdd68287ec4dff4216af34d1db44d1b4"><td class="memTemplParams" colspan="2">template&lt;typename... Ts&gt; </td></tr>
<tr class="memitem:abdd68287ec4dff4216af34d1db44d1b4"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classtf_1_1cudaTask.html">cudaTask</a> &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classtf_1_1cudaTask.html#abdd68287ec4dff4216af34d1db44d1b4">precede</a> (Ts &amp;&amp;... tasks)</td></tr>
<tr class="memdesc:abdd68287ec4dff4216af34d1db44d1b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">adds precedence links from this to other tasks  <a href="#abdd68287ec4dff4216af34d1db44d1b4">More...</a><br /></td></tr>
<tr class="separator:abdd68287ec4dff4216af34d1db44d1b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a9ca1a34bac47e4c9b04eb4fb2f7775"><td class="memTemplParams" colspan="2">template&lt;typename... Ts&gt; </td></tr>
<tr class="memitem:a4a9ca1a34bac47e4c9b04eb4fb2f7775"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classtf_1_1cudaTask.html">cudaTask</a> &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classtf_1_1cudaTask.html#a4a9ca1a34bac47e4c9b04eb4fb2f7775">succeed</a> (Ts &amp;&amp;... tasks)</td></tr>
<tr class="memdesc:a4a9ca1a34bac47e4c9b04eb4fb2f7775"><td class="mdescLeft">&#160;</td><td class="mdescRight">adds precedence links from other tasks to this  <a href="#a4a9ca1a34bac47e4c9b04eb4fb2f7775">More...</a><br /></td></tr>
<tr class="separator:a4a9ca1a34bac47e4c9b04eb4fb2f7775"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab81b4f71a44af8d61758524f0c274962"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classtf_1_1cudaTask.html">cudaTask</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtf_1_1cudaTask.html#ab81b4f71a44af8d61758524f0c274962">name</a> (const <a class="elRef" doxygen="/Users/twhuang/PhD/Code/taskflow/doxygen/cppreference-doxygen-web.tag.xml:http://en.cppreference.com/w/" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> &amp;name)</td></tr>
<tr class="memdesc:ab81b4f71a44af8d61758524f0c274962"><td class="mdescLeft">&#160;</td><td class="mdescRight">assigns a name to the task  <a href="#ab81b4f71a44af8d61758524f0c274962">More...</a><br /></td></tr>
<tr class="separator:ab81b4f71a44af8d61758524f0c274962"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa80fb7a06b2828bd95c43fb465e10abe"><td class="memItemLeft" align="right" valign="top"><a id="aa80fb7a06b2828bd95c43fb465e10abe"></a>
const <a class="elRef" doxygen="/Users/twhuang/PhD/Code/taskflow/doxygen/cppreference-doxygen-web.tag.xml:http://en.cppreference.com/w/" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtf_1_1cudaTask.html#aa80fb7a06b2828bd95c43fb465e10abe">name</a> () const</td></tr>
<tr class="memdesc:aa80fb7a06b2828bd95c43fb465e10abe"><td class="mdescLeft">&#160;</td><td class="mdescRight">queries the name of the task <br /></td></tr>
<tr class="separator:aa80fb7a06b2828bd95c43fb465e10abe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a581673ad83a48a2d3b4f06f125043c32"><td class="memItemLeft" align="right" valign="top"><a id="a581673ad83a48a2d3b4f06f125043c32"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtf_1_1cudaTask.html#a581673ad83a48a2d3b4f06f125043c32">num_successors</a> () const</td></tr>
<tr class="memdesc:a581673ad83a48a2d3b4f06f125043c32"><td class="mdescLeft">&#160;</td><td class="mdescRight">queries the number of successors <br /></td></tr>
<tr class="separator:a581673ad83a48a2d3b4f06f125043c32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b0da9e643b80008063406fe1bf207b9"><td class="memItemLeft" align="right" valign="top"><a id="a1b0da9e643b80008063406fe1bf207b9"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtf_1_1cudaTask.html#a1b0da9e643b80008063406fe1bf207b9">empty</a> () const</td></tr>
<tr class="memdesc:a1b0da9e643b80008063406fe1bf207b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">queries if the task is associated with a cudaNode <br /></td></tr>
<tr class="separator:a1b0da9e643b80008063406fe1bf207b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7eab02ec6633a5cf17cc15898db2d648"><td class="memItemLeft" align="right" valign="top"><a id="a7eab02ec6633a5cf17cc15898db2d648"></a>
<a class="el" href="cuda__task_8hpp.html#ac747e6c7cf88c7b1ff7126e62babebb8">cudaTaskType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtf_1_1cudaTask.html#a7eab02ec6633a5cf17cc15898db2d648">type</a> () const</td></tr>
<tr class="memdesc:a7eab02ec6633a5cf17cc15898db2d648"><td class="mdescLeft">&#160;</td><td class="mdescRight">queries the task type <br /></td></tr>
<tr class="separator:a7eab02ec6633a5cf17cc15898db2d648"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2ce580b0bfb771e463e66af64c2c571"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:af2ce580b0bfb771e463e66af64c2c571"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classtf_1_1cudaTask.html#af2ce580b0bfb771e463e66af64c2c571">dump</a> (T &amp;ostream) const</td></tr>
<tr class="memdesc:af2ce580b0bfb771e463e66af64c2c571"><td class="mdescLeft">&#160;</td><td class="mdescRight">dumps the task through an output stream  <a href="#af2ce580b0bfb771e463e66af64c2c571">More...</a><br /></td></tr>
<tr class="separator:af2ce580b0bfb771e463e66af64c2c571"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a9f64f729511a922781a59663ff1c6250"><td class="memItemLeft" align="right" valign="top"><a id="a9f64f729511a922781a59663ff1c6250"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>cudaFlow</b></td></tr>
<tr class="separator:a9f64f729511a922781a59663ff1c6250"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a672b45d300c57d726c203c62f950efbd"><td class="memItemLeft" align="right" valign="top"><a id="a672b45d300c57d726c203c62f950efbd"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>cudaFlowCapturer</b></td></tr>
<tr class="separator:a672b45d300c57d726c203c62f950efbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a72366cffc8beb57fb68b1591df56e4"><td class="memItemLeft" align="right" valign="top"><a id="a8a72366cffc8beb57fb68b1591df56e4"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>cudaFlowCapturerBase</b></td></tr>
<tr class="separator:a8a72366cffc8beb57fb68b1591df56e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa48fa98a827ff71f8c3845a29f5e4d10"><td class="memItemLeft" align="right" valign="top"><a id="aa48fa98a827ff71f8c3845a29f5e4d10"></a>
<a class="elRef" doxygen="/Users/twhuang/PhD/Code/taskflow/doxygen/cppreference-doxygen-web.tag.xml:http://en.cppreference.com/w/" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::ostream</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtf_1_1cudaTask.html#aa48fa98a827ff71f8c3845a29f5e4d10">operator&lt;&lt;</a> (<a class="elRef" doxygen="/Users/twhuang/PhD/Code/taskflow/doxygen/cppreference-doxygen-web.tag.xml:http://en.cppreference.com/w/" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::ostream</a> &amp;, const <a class="el" href="classtf_1_1cudaTask.html">cudaTask</a> &amp;)</td></tr>
<tr class="memdesc:aa48fa98a827ff71f8c3845a29f5e4d10"><td class="mdescLeft">&#160;</td><td class="mdescRight">overload of ostream inserter operator for <a class="el" href="classtf_1_1cudaTask.html" title="handle to a node of the internal CUDA graph ">cudaTask</a> <br /></td></tr>
<tr class="separator:aa48fa98a827ff71f8c3845a29f5e4d10"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>handle to a node of the internal CUDA graph </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="af2ce580b0bfb771e463e66af64c2c571"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2ce580b0bfb771e463e66af64c2c571">&#9670;&nbsp;</a></span>dump()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void tf::cudaTask::dump </td>
          <td>(</td>
          <td class="paramtype">T &amp;&#160;</td>
          <td class="paramname"><em>ostream</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>dumps the task through an output stream </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">T</td><td>output stream type with insertion operator (&lt;&lt;) defined </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ostream</td><td>an output stream target </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ab81b4f71a44af8d61758524f0c274962"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab81b4f71a44af8d61758524f0c274962">&#9670;&nbsp;</a></span>name()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classtf_1_1cudaTask.html">cudaTask</a> &amp; tf::cudaTask::name </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="/Users/twhuang/PhD/Code/taskflow/doxygen/cppreference-doxygen-web.tag.xml:http://en.cppreference.com/w/" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>assigns a name to the task </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>a <a href="https://en.cppreference.com/w/cpp/string/basic_string">std::string</a> acceptable string</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>*this</code> </dd></dl>

</div>
</div>
<a id="abdd68287ec4dff4216af34d1db44d1b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abdd68287ec4dff4216af34d1db44d1b4">&#9670;&nbsp;</a></span>precede()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... Ts&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classtf_1_1cudaTask.html">cudaTask</a> &amp; tf::cudaTask::precede </td>
          <td>(</td>
          <td class="paramtype">Ts &amp;&amp;...&#160;</td>
          <td class="paramname"><em>tasks</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>adds precedence links from this to other tasks </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">Ts...</td><td>parameter pack</td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">tasks</td><td>one or multiple tasks</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>*this</code> </dd></dl>

</div>
</div>
<a id="a4a9ca1a34bac47e4c9b04eb4fb2f7775"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a9ca1a34bac47e4c9b04eb4fb2f7775">&#9670;&nbsp;</a></span>succeed()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... Ts&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classtf_1_1cudaTask.html">cudaTask</a> &amp; tf::cudaTask::succeed </td>
          <td>(</td>
          <td class="paramtype">Ts &amp;&amp;...&#160;</td>
          <td class="paramname"><em>tasks</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>adds precedence links from other tasks to this </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">Ts...</td><td>parameter pack</td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">tasks</td><td>one or multiple tasks</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>*this</code> </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="cuda__task_8hpp_source.html">cuda_task.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>tf</b></li><li class="navelem"><a class="el" href="classtf_1_1cudaTask.html">cudaTask</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  </ul>
</div>
</body>
</html>
